package com.nit.lab.vote.entity.vote;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CandidateEntity {
    private Long candidateId;
    private String candidateName;
    private String dept;
    private String employeeNumber;
    private String idNumber;
    private String type;
    private String subject;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date gmtCreate;


    public CandidateEntity() {
    }

    public CandidateEntity(Long candidateId, String candidateName, String dept, String employeeNumber, String idNumber, String type, String subject, Date gmtCreate) {
        this.candidateId = candidateId;
        this.candidateName = candidateName;
        this.dept = dept;
        this.employeeNumber = employeeNumber;
        this.idNumber = idNumber;
        this.type = type;
        this.subject = subject;
        this.gmtCreate = gmtCreate;
    }

    public Long getCandidateId() {
        return candidateId;
    }

    public void setCandidateId(Long candidateId) {
        this.candidateId = candidateId;
    }

    public String getCandidateName() {
        return candidateName;
    }

    public void setCandidateName(String candidateName) {
        this.candidateName = candidateName;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
